<template>
  <!-- 测试：组件库 -->
  <!-- <p>{{ $store.state.user.profile }}</p>
  <XtxButton
    @click="$store.commit('user/updateName')"
    type="primary"
    size="mini"
    >按钮</XtxButton
  >
  <XtxButton type="primary" size="large">按钮</XtxButton> -->

  <!-- 一级路由的挂载点 -->
  <router-view />
</template>
<script>
export default {
  created () {
    // console.log('vuex实例：', this.$store)
  }
}
</script>
<style lang="less">
</style>
